package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;

@Data
@Table(name = "knowledge_unit_parse_knowledge_task")
public class KnowledgeUnitParseKnowledgeTask extends BaseEntity {

    public static int STATUS_EDITING = 0;
    public static int STATUS_FINISHED = 1;
    /**
     * ID
     */
    @TableId
    private String id;
    /**
     * 任务ID
     */
    private String taskId;
    /**
     * 0: 单条, 1: 批量;
     */
    private int type;
    /**
     * 0: 进行中, 1: 已完成;
     */
    private int status;
    /**
     * 备注, 同子任务备注;
     */
    private String remark;

    @TableField(exist = false)
    private String taskName;
}
